feat(ci): add SDK proto sync CI with drift detection and dashboard#2344
Draft
rhuss wants to merge 1 commit into
Draft
feat(ci): add SDK proto sync CI with drift detection and dashboard#2344rhuss wants to merge 1 commit into
rhuss wants to merge 1 commit into
Conversation
rhuss
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
July 17, 2026 10:35
5 tasks
rhuss
force-pushed
the
6114-sdk-proto-sync-ci-clean
branch
3 times, most recently
from
July 17, 2026 12:39
f9480c8 to
c55f073
Compare
Add automated proto drift detection for multi-language SDKs: - sdk_sync.py: Python script with six subcommands (drift-report, dashboard, issue-body, wiki-push, manage-issue, dispatch) for testable, lintable sync logic - sdk_sync_test.py: 22 pytest tests covering drift detection, dashboard generation, issue body formatting, log truncation, wiki push, issue management, repository dispatch, and agent prompt - go:proto:drift mise task: calls sdk_sync.py drift-report - go:proto:build-check mise task: runs full sync+gen+build+test pipeline - sdk-proto-check.yml: PR gate workflow with non-blocking warning annotations - sdk-sync-dashboard.yml: scheduled daily workflow for wiki dashboard, agent-actionable issue creation, and repository_dispatch Auto-created drift issues include an "Agent Instructions" section with a structured prompt that an AI agent can directly consume to fix the drift and create a PR. The prompt includes the scope, affected files, converter/types paths, fix steps, and commands to verify. Signed-off-by: Roland Huß <rhuss@redhat.com>
rhuss
force-pushed
the
6114-sdk-proto-sync-ci-clean
branch
from
July 17, 2026 14:13
c55f073 to
5b15133
Compare
rhuss
marked this pull request as draft
July 17, 2026 14:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds automated proto drift detection and remediation infrastructure for multi-language SDKs, building on the proto management approach discussed in #2271.
In PR #2271, we discussed how SDK proto files are copied from
proto/into each SDK directory to decouple SDK maintenance from core API evolution. This PR implements the automation we proposed to make that model work reliably: CI-based drift detection, a status dashboard, and agent-actionable issue creation when SDKs fall behind.Merge order
What this adds
Mise tasks (locally testable, no GitHub dependency):
go:proto:drift: Comparesproto/*.protoagainstsdk/go/proto/*.proto, outputs a JSON report with per-file sync status (synced/modified/added/removed) and diff line counts. Exit code 0 if synced, 1 if drifted.go:proto:build-check: Runs the full remediation pipeline (sync, generate, build, test) and reports which step failed with its log output.PR gate workflow (
sdk-proto-check.yml):pull-request/*branchesScheduled dashboard workflow (
sdk-sync-dashboard.yml):workflow_dispatchsdk-sync:<lang>labelrepository_dispatchevent (sdk-sync-drift) for agent pickupDesign principles:
mise run go:proto:drift)Related
Testing
mise run go:proto:drifttested locally with both synced and drifted statesbranch-checks.ymlpatterns (pr-gate action, CI container, concurrency groups)